projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
009062f
)
* eglot.el (eglot--process-receive): skip null method notifs.
author
João Távora
<joaotavora@gmail.com>
Thu, 3 May 2018 23:12:53 +0000
(
00:12
+0100)
committer
João Távora
<joaotavora@gmail.com>
Thu, 3 May 2018 23:17:18 +0000
(
00:17
+0100)
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index ebc07d216222e11117e96b97f3caf7c2838e78d0..693535ac8b13021c99cb3edbf0926ffd41df9dc6 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-477,8
+477,11
@@
identifier. ERROR is non-nil if this is an error."
(plist-get message :params)
(let ((id (plist-get message :id)))
(if id `(:id ,id)))))
- (eglot--warn "No implemetation for notification %s yet"
- method)))))))
+ ;; pyls keeps on sending nil notifs for each notif we
+ ;; send it, just ignore these.
+ (unless (null method)
+ (eglot--warn "No implemetation for notification %s yet"
+ method))))))))
(defvar eglot--expect-carriage-return nil)